Skip to content

T3: enable Stryker.NET mutation testing — add stryker-config.json#168

Merged
Chris-Wolfgang merged 2 commits into
mainfrom
t3/stryker-config
Jun 19, 2026
Merged

T3: enable Stryker.NET mutation testing — add stryker-config.json#168
Chris-Wolfgang merged 2 commits into
mainfrom
t3/stryker-config

Conversation

@Chris-Wolfgang

@Chris-Wolfgang Chris-Wolfgang commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Adds stryker-config.json so Stryker.NET mutation testing actually runs against this repo once the canonical .github/workflows/stryker.yaml lands.

  • target-framework: net10.0 (mutation runs one TFM at a time)
  • thresholds.break: 0 (keep CI green while baseline establishes)

Pattern lifted from IComparable-Extensions PR #136 — 100% mutation score on the v1.1.1 test surface.

Ordering note

The earlier description claimed the canonical stryker.yaml was "already shipped via the T3 fanout" — that was true in IComparable-Extensions but not in this repo. PR #153 (the standalone T3 workflow PR) and PR #151 (the canonical-protected umbrella) were both closed unmerged. The workflow currently lives on vNext and will land on main via the in-flight Release PR (#166).

This config is therefore a no-op on main until #166 merges, after which the weekly mutation run starts producing scores. No CI break in the meantime — the config sits as plain data until the workflow looks for it.

Initiative T3.

Copilot AI review requested due to automatic review settings June 3, 2026 00:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a Stryker.NET configuration file so mutation testing can run for this repository (targeting a single TFM) under the existing Stryker workflow setup.

Changes:

  • Add stryker-config.json that points Stryker at the library project and the unit test project.
  • Configure mutation testing to run on net10.0.
  • Set mutation score thresholds with break: 0 to avoid failing CI while establishing a baseline.

@Chris-Wolfgang Chris-Wolfgang merged commit ecf99e1 into main Jun 19, 2026
9 checks passed
@Chris-Wolfgang Chris-Wolfgang deleted the t3/stryker-config branch June 19, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants